package com.puzzlebazar.client.puzzle.model;

public class HistoryMoveAddMove extends HistoryMove {

	/**
	 * 
	 */
	private static final long serialVersionUID = -217005853388526428L;

	private boolean moveDeleted;

	/**
	 * Only for serialization
	 */
	protected HistoryMoveAddMove() {
		super();
	}
	
	public HistoryMoveAddMove( Move puzzleMove, boolean moveDeleted ) {
		super(puzzleMove);
		this.moveDeleted = moveDeleted;
	}

	/**
	 * @return True if adding this move required any move to be deleted
	 */
	public boolean anyMoveDeleted() {
		return moveDeleted;
	}
	
}

